package com.yan.exceptiontest;

import java.util.Scanner;

public class Test6 {
    public static void main(String[] args) {
        int[] arr = new int[3];
        Scanner input = new Scanner(System.in);
        for (int i = 0; i < arr.length; i++) {
            System.out.println("输入第"+(i+1)+"个整数");
            arr[i] = input.nextInt();
        }
        Test2.sort(arr);
        for (int i = arr.length - 1; i >= 0; i--) {
            System.out.print(arr[i] + " ");
        }
    }
}
